latexdraw software package provides vector drawing program for LaTeX using PSTricks, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install latexdraw
latexdraw is installed in your system.
Make ensure the latexdraw package were installed using the commands given below,
$ sudo dpkg-query -l | grep latexdraw *
You will get with latexdraw package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Graphics |
| Package | latexdraw |
| Version | 2.0.8+1-2 |
| Description | vector drawing program for LaTeX using PSTricks |
| Sub Section | Graphics |